<%inherit file='base.mako' />

${h.form(h.url_for('create_post'), id='post')}
  <div class="wrap">
    <h2 id="write-post">Write Post</h2>
    <div id="poststuff">
      <fieldset id="titlediv">
	<legend>Title</legend>
	<div>${h.text_field('post_title', id='title', size=30)}</div>
      </fieldset>
      <fieldset id="postdiv">
	<legend>Post</legend>
	<div>${h.text_area('content', size='40x12')}</div>
      </fieldset>
      <p class="submit">
	${h.submit("Save and Continue Editing", 'save')}
	${h.submit("Save", 'submit', style='font-weight: bold;')} 
	${h.submit("Publish", 'publish', accesskey='p')}
      </p>
    </div>
  </div>
${h.end_form()}
